package com.mediastory.spsserver.advertising.domain;

import java.util.ArrayList;
import java.util.List;

import org.springframework.web.multipart.MultipartFile;

/**
 * Advertising Domain
 * @author Jaewon Choi
 *
 */
public class Advertising {

	private Integer idx;
	private String name;
	private String desc;
	private String beginTime;
	private String endTime;
	private String createdTime;
	private String createdId;
	private String createdIp;
	private String modifiedTime;
	private String modifiedId;
	private String modifiedIp;
	private Integer isDel;
	private Integer categoryIdx;
	private String categoryNm;
	private String urlType;
	
	private Integer[] adCategoryIdx;
	private String adCategoryNm;
	private Float dispOrder;
	
	private Integer[] adFileIdx;
	private List<MultipartFile> adFiles = new ArrayList<MultipartFile>();
	private String[] adFileTypes;
	private String[] adFileDatas;

	public Integer getIdx() {
		return idx;
	}
	public void setIdx(Integer idx) {
		this.idx = idx;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public String getBeginTime() {
		return beginTime;
	}
	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getCreatedTime() {
		return createdTime;
	}
	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}
	public String getCreatedId() {
		return createdId;
	}
	public void setCreatedId(String createdId) {
		this.createdId = createdId;
	}
	public String getCreatedIp() {
		return createdIp;
	}
	public void setCreatedIp(String createdIp) {
		this.createdIp = createdIp;
	}
	public String getModifiedTime() {
		return modifiedTime;
	}
	public void setModifiedTime(String modifiedTime) {
		this.modifiedTime = modifiedTime;
	}
	public String getModifiedId() {
		return modifiedId;
	}
	public void setModifiedId(String modifiedId) {
		this.modifiedId = modifiedId;
	}
	public String getModifiedIp() {
		return modifiedIp;
	}
	public void setModifiedIp(String modifiedIp) {
		this.modifiedIp = modifiedIp;
	}
	public Integer getIsDel() {
		return isDel;
	}
	public void setIsDel(Integer isDel) {
		this.isDel = isDel;
	}
	public Integer[] getAdCategoryIdx() {
		return adCategoryIdx;
	}
	public void setAdCategoryIdx(Integer[] adCategoryIdx) {
		this.adCategoryIdx = adCategoryIdx;
	}
	public String getAdCategoryNm() {
		return adCategoryNm;
	}
	public void setAdCategoryNm(String adCategoryNm) {
		this.adCategoryNm = adCategoryNm;
	}
	public Float getDispOrder() {
		return dispOrder;
	}
	public void setDispOrder(Float dispOrder) {
		this.dispOrder = dispOrder;
	}
	public Integer[] getAdFileIdx() {
		return adFileIdx;
	}
	public void setAdFileIdx(Integer[] adFileIdx) {
		this.adFileIdx = adFileIdx;
	}
	public List<MultipartFile> getAdFiles() {
		return adFiles;
	}
	public void setAdFiles(List<MultipartFile> adFiles) {
		this.adFiles = adFiles;
	}
	public String[] getAdFileTypes() {
		return adFileTypes;
	}
	public void setAdFileTypes(String[] adFileTypes) {
		this.adFileTypes = adFileTypes;
	}
	public String[] getAdFileDatas() {
		return adFileDatas;
	}
	public void setAdFileDatas(String[] adFileDatas) {
		this.adFileDatas = adFileDatas;
	}
	
	public String getCategoryNm() {
		return categoryNm;
	}
	public void setCategoryNm(String categoryNm) {
		this.categoryNm = categoryNm;
	}
	public Integer getCategoryIdx() {
		return categoryIdx;
	}
	public void setCategoryIdx(Integer categoryIdx) {
		this.categoryIdx = categoryIdx;
	}
	
	public String getUrlType() {
		return urlType;
	}
	public void setUrlType(String urlType) {
		this.urlType = urlType;
	}
	

}